﻿using System;
using System.Globalization;
using System.IO;
using System.Windows.Forms;
using KZ.Exception;

namespace KZ.Lottery
{
    internal static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        private static void Main()
        {
            Log.LogPath = Path.Combine(Application.StartupPath, "Log.txt");
            Global.Culture = new CultureInfo("vi-VN");
            Global.Culture.NumberFormat.CurrencyDecimalDigits = 0;
            Global.Culture.NumberFormat.CurrencySymbol = String.Empty;
            Global.Culture.NumberFormat.NegativeSign = "-";
            Global.Culture.DateTimeFormat.ShortDatePattern = "dd/MM/yyyy";

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new FrmMain());
        }
    }
}